package git.jasonch.isp;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.boot.autoconfigure.security.servlet.SecurityFilterAutoConfiguration;
import org.springframework.scheduling.annotation.EnableScheduling;


@EnableScheduling() // 定时任务
// 取消 security 的自动配置
@SpringBootApplication(exclude={SecurityAutoConfiguration.class, SecurityFilterAutoConfiguration.class})
@MapperScan("git.jasonch.isp.mapper")
public class IspApplication {

    public static void main(String[] args) {
        //
        SpringApplication.run(IspApplication.class, args);
    }

}
